package cn.school.workflow.service;

import cn.school.workflow.vo.MeetingReservedApplyVO;
import cn.school.workflow.vo.WorkFlowVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

public interface MeetingReservedApplyService {

    /**
     * 分页查询会议申请单
     * @param vo
     * @return
     */
    IPage<MeetingReservedApplyVO> findMeetingApplyPageList(MeetingReservedApplyVO vo);

    /**
     * 取消申请
     * @param vo
     * @return
     */
    boolean cancelMeetingApply(WorkFlowVO vo);

    /**
     * 创建会议申请
     * @param vo
     * @return
     */
    int createMeetingApply(MeetingReservedApplyVO vo);

    /**
     * 根据ID查询会议申请详情
     * @param id
     * @return
     */
    MeetingReservedApplyVO findMeetingApplyDetail(Long id);
}
